
#ifndef _INC_CCommandCREATOR_47C13FA9015E_INCLUDED
#define _INC_CCommandCREATOR_47C13FA9015E_INCLUDED


#include "UIBaseTool/DataPublic.h"
#include <Interactiv_BIM/ChaiDanCommand>

#include "Interactiv_BIM/Export"

class  Interactiv_BIM__EXPORT CCommandCreator : public FactorManager<DesignerDlgTypePublic, ChaiDanCommand>

{
	DECLARE_Singleton(CCommandCreator);
public:
protected:
	CCommandCreator(void);

public:
	virtual ~CCommandCreator(){ ; }

protected:
	virtual ChaiDanCommand * _Creat(DesignerDlgTypePublic type, void* pData);

public:
	ChaiDanCommand * Create(DesignerDlgTypePublic type, void* pData, bool blnChange = true);

  

  
protected:
	BOOL PostCreate(DesignerDlgTypePublic type, ChaiDanCommand *pDockingControlBar = nullptr);
  
public:



private:

};

#define g_pCommandControlBar CCommandCreator::Instance()



#endif
